﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.Web.Infrastructure.DynamicModuleHelper;


// This class was added to System.Web in .NETv4. Since Orchard requires .NETv4+, we should be safe to use it.
[assembly: PreApplicationStartMethod(typeof(Glimpse.Config.PreApplicationStartConfig), "Start")]

namespace Glimpse.Config
{
    public class PreApplicationStartConfig
    {
        public static void Start()
        {
            Microsoft.Web.Infrastructure.DynamicModuleHelper.DynamicModuleUtility.RegisterModule(typeof(OrchardHttpModule));
        }
    }
}